package com.itany.corejava.code07_面向对象.封装;

/**
 * @author 石小俊
 * @date 2023年04月19日 9:09
 */
public class Card {
    private String color;
    private String num;

    public Card(String color,String num){
        this.color = color;
        this.num = num;
    }
    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
